import { routerReducer as routing } from 'react-router-redux';
import { combineReducers } from 'redux';

import app from './app/reducer';
import auth from './auth/reducer';
import common from './common/reducer';
import user from './user/reducer';
import me from './me/reducer';
import role from './role/reducer';
import page from './page/reducer';

const rootReducer = combineReducers({
    routing,
    app,
    auth,
    common,
    user,
    me,
    role,
    page
});

export default rootReducer;